// dog.cpp
#include "animal.hpp"

class Dog : public Animal {
public:
  void sound() override { std::cout << "wow" << std::endl; }
};

extern "C" {
Animal *create() { return new Dog(); }

void destroy(Animal *p) { delete p; }
}
